github.com/golang/protobuf/proto.textParser.s (field)
43 uses
github.com/golang/protobuf/proto (current package)
text_decode.go#L68: s string // remaining input
text_decode.go#L85: p.s = s
text_decode.go#L543: for i < len(p.s) && (isWhitespace(p.s[i]) || p.s[i] == '#') {
text_decode.go#L544: if p.s[i] == '#' {
text_decode.go#L546: for i < len(p.s) && p.s[i] != '\n' {
text_decode.go#L549: if i == len(p.s) {
text_decode.go#L553: if p.s[i] == '\n' {
text_decode.go#L559: p.s = p.s[i:len(p.s)]
text_decode.go#L560: if len(p.s) == 0 {
text_decode.go#L576: switch p.s[0] {
text_decode.go#L579: p.cur.value, p.s = p.s[0:1], p.s[1:len(p.s)]
text_decode.go#L583: for i < len(p.s) && p.s[i] != p.s[0] && p.s[i] != '\n' {
text_decode.go#L584: if p.s[i] == '\\' && i+1 < len(p.s) {
text_decode.go#L590: if i >= len(p.s) || p.s[i] != p.s[0] {
text_decode.go#L594: unq, err := unquoteC(p.s[1:i], rune(p.s[0]))
text_decode.go#L596: p.errorf("invalid quoted string %s: %v", p.s[0:i+1], err)
text_decode.go#L599: p.cur.value, p.s = p.s[0:i+1], p.s[i+1:len(p.s)]
text_decode.go#L603: for i < len(p.s) && isIdentOrNumberChar(p.s[i]) {
text_decode.go#L607: p.errorf("unexpected byte %#x", p.s[0])
text_decode.go#L610: p.cur.value, p.s = p.s[0:i], p.s[i:len(p.s)]
text_decode.go#L634: if p.done || !isQuote(p.s[0]) {